All Packages Class Hierarchy This Package Previous Next Index
Interface com.sun.java.swing.text.Position
- public interface Position
Represents a location within a document. It is intended to abstract away
implementation details of the document and enable specification of
positions within the document that are capable of tracking of change as
the document is edited (i.e. offsets are fragile).
-
getOffset()
- Fetches the current offset within the document.
getOffset
public abstract int getOffset()
- Fetches the current offset within the document.
- Returns:
- the offset >= 0
All Packages Class Hierarchy This Package Previous Next Index